Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / FillPolygon Method / FillPolygon(PointF[],Color,FillMode) Method
An array of points specifying the polygon.
The fill color.
The fill mode (alternate by default).

In This Topic
    FillPolygon(PointF[],Color,FillMode) Method
    In This Topic
    Fills a polygon specified by an array of points, using a specified color and fill mode.
    Syntax
    'Declaration
     
    Public Overloads Sub FillPolygon( _
       ByVal points() As System.Drawing.PointF, _
       ByVal color As System.Drawing.Color, _
       Optional ByVal fillMode As FillMode _
    ) 
    public void FillPolygon( 
       System.Drawing.PointF[] points,
       System.Drawing.Color color,
       FillMode fillMode
    )

    Parameters

    points
    An array of points specifying the polygon.
    color
    The fill color.
    fillMode
    The fill mode (alternate by default).
    See Also